package com.example.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Rsp {

    private Integer code;

    private Object result;

    private String msg;

    public Rsp(Integer code, Object result) {
        this.code = code;
        this.result = result;
    }

    public Rsp(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
